package org.ricks.ioc;

import org.ricks.ioc.utils.ReflectUtils;

import java.lang.reflect.Method;

public record LifeCycleMethod (

    Object bean,

    Method method,

    int priority
){

    public void invoke () {
        ReflectUtils.invokeMethod(bean, method);
    }
}
